<%-- 
    Document   : pendaftaran_taha
    Created on : Aug 13, 2012, 1:35:57 PM
    Author     : ubuntu
--%>
<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">       
        <%--script src="${pageContext.request.contextPath}/js/jquery-ui.js" type="text/javascript"></script --%>
        <title>Pendaftaran TaHa/TaHa@U</title>
        <script type="text/javascript">
            
            $(document).ready(function () {    

            });
        </script>
    </head>
    <body>
        <s:messages/>
        <s:errors/> 
        <br/>
        <s:useActionBean beanclass="th.stripes.util.ListUtil" id="listUtil" />
        <s:form action="/taha/register" class="niceform">
            <s:hidden name="taha.jantina.kod"/>
            <s:hidden name="taha.jenisKelab"/>
            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    <c:if test="${actionBean.taha.umur < 17}" >
                        <span class="1">Pendaftaran Kelab TaHa</span>
                    </c:if>
                    <c:if test="${actionBean.taha.umur >= 17}" >
                        <span class="2">Pendaftaran Kelab TaHa@U</span>
                    </c:if>
                </h3>


                <!--            <fieldset>
                                <legend >
                <c:if test="${actionBean.taha.umur < 17}" >
                    <span class="1">Pendaftaran Kelab TaHa</span>
                </c:if>
                <c:if test="${actionBean.taha.umur >= 17}" >
                    <span class="2">Pendaftaran Kelab TaHa@U</span>
                </c:if>
            </legend>                -->
<!--                <p>
                    <label>Jenis Kelab :</label>                    
                    ${actionBean.taha.jenisKelab}&nbsp;
                    
                </p>-->
                    
                
                <p>
                    <label>No. Akaun TH:</label>
                    ${actionBean.taha.noAkaun}&nbsp;
                    <s:hidden name="taha.noAkaun"/>
                </p>
                <p>
                    <label>Nama :</label>
                    ${actionBean.taha.nama}&nbsp;
                    <s:hidden name="taha.nama"/>
                </p>
                <p>
                    <label>Tarikh Lahir :</label>
                    <fmt:formatDate value="${actionBean.taha.trhLahir}" pattern="dd/MM/yyyy"/>&nbsp;
                    <s:hidden name="taha.trhLahir"/>
                </p>
                <p>
                    <label>Umur :</label>
                    ${actionBean.taha.umur}&nbsp;
                    <s:hidden name="taha.umur"/>
                </p>
                <p>
                    <label>No. KP Semasa :</label>
                    ${actionBean.taha.noPengenalan}&nbsp;
                    <s:hidden name="taha.noPengenalan"/>
                </p>
                <p>
                    <label>Jantina :</label>
                    ${actionBean.taha.jantina.nama}&nbsp;
                    <s:hidden name="taha.jantina.kod"/>
                </p>
                <p>
                    <label>Alamat Surat Menyurat :</label>
                    ${actionBean.taha.alamat1}
                    <s:hidden name="taha.alamat1"/>&nbsp;
                </p>
                <p>
                    <label>&nbsp;</label> 
                    ${actionBean.taha.alamat2}
                    <s:hidden name="taha.alamat2"/>&nbsp;
                </p>
                <p>
                    <label>&nbsp;</label> 
                    ${actionBean.taha.alamat3}
                    <s:hidden name="taha.alamat3"/>&nbsp;
                </p>
                <%--<p>
                    <label>&nbsp;</label>         
                    <s:text name="taha.alamat4" size="30"/>&nbsp;
                </p>--%>                
                <p>
                    <label>Negeri :</label>  
                    ${actionBean.taha.negeri.desc}
                    <s:hidden name="taha.negeri.code"/>&nbsp;
                </p>
                <p>
                    <label>Poskod :</label>   
                    ${actionBean.taha.poskod.poskod} &nbsp;  ${actionBean.taha.poskod.nama}
                    <s:hidden name="taha.poskod.poskod"/>&nbsp;
                    
                </p>
                <p>
                    <label>No Tel :</label>  
                    ${actionBean.taha.telefon}
                    <s:hidden name="taha.telefon"/>&nbsp;
                </p>
                <p>
                    <label>Emel :</label>     
                     ${actionBean.taha.email}
                    <s:hidden name="taha.email"/>&nbsp;
                </p>

                <c:if test="${actionBean.taha.umur < 17}" >

                    <div class="1">        
                        <h3><p>Maklumat Persekolahan</p></h3>
                        <p>
                            <label>Kategori Sekolah :</label>
                            ${actionBean.taha.jenisSekolah.nama}
                            <s:hidden name="taha.jenisSekolah.kod"/>  &nbsp;                       
                        </p>
                        <p>
                            <label>Negeri :</label>
                            ${actionBean.taha.negeriSekolah.desc}
                            <s:hidden name="taha.negeriSekolah.code"/>   &nbsp;
                            
                        </p>
                        <p id="sekolah_partition">
                            <label>Sekolah :</label>
                            ${actionBean.taha.sekolah.nama}
                            <s:hidden name="taha.sekolah.kod"/>      &nbsp;                    
                        </p>
                    </div>
                </c:if>
                <c:if test="${actionBean.taha.umur >= 17}" >

                    <div class="2"> 
                        <h3><p>Maklumat Pengajian </p></h3>

                        <p>
                            <label>Institusi Pengajian :</label>
                            ${actionBean.taha.universiti.nama}
                            <s:hidden name="taha.universiti.kod"/>       &nbsp;                     
                        </p>
                        <p>
                            <label>No. Pelajar / Matrik :</label>
                             ${actionBean.taha.noMatrik}
                            <s:hidden name="taha.noMatrik"/>     &nbsp;                          
                        </p>
                        <p>
                            <label>Jenis Pengajian :</label>
                             ${actionBean.taha.jenisPengajian.nama}
                            <s:hidden name="taha.jenisPengajian.kod"/>    &nbsp;                          
                        </p>
                        <p>
                            <label>Peringkat Pengajian :</label>
                             ${actionBean.taha.tahapPengajian.nama}
                            <s:hidden name="taha.tahapPengajian.kod"/>&nbsp;
                        </p>
                        <p>
                            <label>Jurusan Pengajian :</label>
                             ${actionBean.taha.jurusanPengajian.nama}
                            <s:hidden name="taha.jurusanPengajian.kod"/>   &nbsp;
                           
                        </p>
                        <p>
                            <label>Fakulti Pengajian :</label>
                             ${actionBean.taha.fakultiPengajian.nama}
                            <s:hidden name="taha.fakultiPengajian.kod"/>   &nbsp;
                           
                        </p>
                        <p>
                            <label>Tarikh Masuk IPT :</label>
                            <fmt:formatDate value="${actionBean.taha.trhmasukIPT}" pattern="dd/MM/yyyy"/>
                            <s:hidden name="taha.trhmasukIPT" formatType="date" formatPattern="dd/MM/yyyy"/>   &nbsp;
                            
                        </p>
                        <p>
                            <label>Jangkaan Tamat :</label>
                            <fmt:formatDate value="${actionBean.taha.trhtamatIPT}" pattern="dd/MM/yyyy"/>                             
                            <s:hidden name="taha.trhtamatIPT" formatType="date" formatPattern="dd/MM/yyyy"/>      &nbsp;                      
                        </p>
                    </div>
                </c:if>
                <p align="center">                        
                    <s:submit name="TahaReg_Step3" value="Daftar"  class="button_blockUI"/> &nbsp;
                    <s:submit name="TahaReg_Step2" value="Kemaskini" class="button_blockUI"/> 
                </p>
            </div>            
        </s:form>
</body>
</html>